﻿capital = 598
set_research_slots = 5
2000.1.1 = {
	if = {
		limit = { has_dlc = "No Step Back" }

		set_oob = "TAI_2000_nsb"
	}
	if = {
		limit = { NOT = { has_dlc = "No Step Back" } }

		set_oob = "TAI_2000_nonnsb"
	}
	set_cosmetic_tag = TAI
	set_country_flag = dynamic_flag
	set_country_flag = dynamic_rebel_flag
	if = {
		limit = {
			has_dlc = "Man the Guns"
		}
		set_naval_oob = "TAI_2000_naval_mtg"
		else = {
			set_naval_oob = "TAI_2000_naval_legacy"
		}
	}
	set_convoys = 40

	add_ideas = {
		#pop_050
		medium_corruption
		pluralist
		legacy_of_1949
		rival_government
		Major_Non_NATO_Ally

		stable_growth
		defence_03
		edu_04
		health_04
		social_03
		bureau_03
		police_02
		draft_army
		volunteer_women
		small_medium_business_owners
		industrial_conglomerates
		landowners
		export_economy
		officer_advanced_training
	}

	add_timed_idea = { idea = asian_tigers_legacy days = 2000 }
	add_timed_idea = { idea = asian_crisis days = 780 }

	set_technology = {
		integrated_transportation_system = 1
		post_conventional_rail = 1
		early_freight_locomotive = 1

		legacy_doctrines = 1
		infantry_mass_assault = 1

		infantry_weapons = 1
		infantry_weapons1 = 1
		infantry_weapons2 = 1
		infantry_weapons3 = 1
		support_weapons = 1
		support_weapons2 = 1
		support_weapons3 = 1
		tandem_charge_warheads = 1
		squad_automatic_weapon = 1
		special_forces = 1

		command_control_equipment = 1

		land_Drone_equipment = 1

		Anti_tank_0 = 1

		Heavy_Anti_tank_0 = 1

		Anti_Air_0 = 1

		combat_eng_equipment = 1

		Early_APC = 1

		IFV_1 = 1
		IFV_2 = 1

		APC_1 = 1
		APC_2 = 1
		APC_3 = 1

		Rec_tank_0 = 1

		util_vehicle_0 = 1

		SP_arty_0 = 1

		artillery_0 = 1
		artillery_1 = 1

		Arty_upgrade_1 = 1

		SP_R_arty_0 = 1
		SP_R_arty_1 = 1

		early_helicopter = 1
		transport_helicopter1 = 1

		SP_Anti_Air_0 = 1
		SP_Anti_Air_1 = 1

		early_fighter = 1

		MR_Fighter1 = 1
		MR_Fighter2 = 1

		early_bomber = 1

		L_Strike_fighter1 = 1
		L_Strike_fighter2 = 1

		transport_plane1 = 1

		night_vision_1 = 1
		night_vision_2 = 1

		body_armor_1980 = 1

		basic_computing = 1
		integrated_circuit = 1
		computing1 = 1
		decryption1 = 1
		encryption1 = 1
		microprocessors = 1
		computing2 = 1
		decryption2 = 1
		encryption2 = 1

		radar = 1
		internet1 = 1
		internet2 = 1
		gprs = 1
		fuel_silos = 1
	}
	if = {
		limit = { has_dlc = "No Step Back" }

		set_technology = {
			mbt_tech = 1
		}
	}
	if = {
		limit = { NOT = { has_dlc = "No Step Back" } }

		set_technology = {
			MBT_1 = 1
		}
	}
	if = {
		limit = {
			not = { has_dlc = "Man the Guns" }
		}
		set_technology = {
			#Navy templates
			frigate_1 = 1
			submarine_1 = 1
			diesel_attack_submarine_1 = 1
			landing_craft = 1
		}
	}
	if = {
		limit = {
			has_dlc = "Man the Guns"
		}
		set_technology = {
			corvette_hull_1 = 1
			corvette_hull_2 = 1

			frigate_hull_1 = 1
			frigate_hull_2 = 1
			frigate_hull_3 = 1

			destroyer_hull_1 = 1
			destroyer_hull_2 = 1

			attack_submarine_hull_1 = 1
			attack_submarine_hull_2 = 1
			attack_submarine_hull_3 = 1

			tech_submarine_engineering = 1

			tech_naval_systems_engineering = 1
			tech_power_systems = 1
			tech_power_systems_1 = 1

			tech_combat_support_systems = 1
			tech_fire_control = 1
			tech_fire_control_1 = 1
			tech_combat_radar = 1
			tech_combat_radar_1 = 1
			tech_combat_radar_2 = 1
			tech_combat_sonar = 1
			tech_combat_sonar_1 = 1
			tech_combat_sonar_2 = 1

			tech_early_naval_weapon_systems = 1
			tech_naval_weapon_systems = 1
			tech_light_guns = 1
			tech_light_guns_1 = 1
			tech_127mm_guns = 1
			tech_127mm_guns_1 = 1

			tech_point_defense_system = 1
			tech_point_defense_system_1 = 1
			tech_point_defense_system_2 = 1
			tech_point_defense_system_3 = 1

			tech_missile_systems = 1
			tech_turret_missiles_surface = 1
			tech_turret_missiles_surface_1 = 1
			tech_turret_missiles_aa = 1
			tech_turret_missiles_aa_1 = 1
			tech_turret_missiles_aa_2 = 1
			tech_vls_surface = 1
			tech_vls_surface_1 = 1
			tech_vls_aa = 1
			tech_vls_aa_1 = 1

			tech_torpedoes = 1
			tech_torpedoes_1 = 1
			tech_torpedoes_2 = 1

			tech_mtg_landing_craft = 1
		}
	}

	#Cyber
	add_to_array = { cyber_targets = CHI }
	add_to_array = { cyber_targets = JAP }
	add_to_array = { cyber_targets = NKO }


	#Influence system
	init_influence = yes
	set_variable = { domestic_influence_amount = 200 }
	add_to_array = { influence_array = CHI.id }
	add_to_array = { influence_array_val = 12 }
	add_to_array = { influence_array = USA.id }
	add_to_array = { influence_array_val = 57 }
	add_to_array = { influence_array = JAP.id }
	add_to_array = { influence_array_val = 28 }
	add_to_array = { influence_array = SIN.id }
	add_to_array = { influence_array_val = 29 }
	add_to_array = { influence_array = KOR.id }
	add_to_array = { influence_array_val = 17 }
	add_to_array = { influence_array = PHI.id }
	add_to_array = { influence_array_val = 3 }
	startup_influence = yes


	set_country_flag = Major_Non_NATO_Ally
	set_country_flag = Major_Importer_US_Arms #Trends-in-international-arms-transfers-2016.pdf
	set_variable = { small_medium_business_owners = 75 }
	set_variable = { industrial_conglomerates_opinion = 80 }

	set_variable = { var = debt value = 83 }
	set_variable = { var = treasury value = 243 }
	set_variable = { var = int_investments value = 0 }
	set_variable = { var = corporate_tax_rate value = 25 }
	set_variable = { var = population_tax_rate value = 40 }


	#Chinese diaspora trading network
	add_opinion_modifier = { target = SIN modifier = bamboo_network }
	reverse_add_opinion_modifier = { target = SIN modifier = bamboo_network  }
	add_opinion_modifier = { target = SIA modifier = bamboo_network }
	reverse_add_opinion_modifier = { target = SIA modifier = bamboo_network  }
	add_opinion_modifier = { target = MAY modifier = bamboo_network }
	reverse_add_opinion_modifier = { target = MAY modifier = bamboo_network  }
	add_opinion_modifier = { target = CHI modifier = bamboo_network }

	add_opinion_modifier = { target = JAP modifier = large_commercial_relations }
	reverse_add_opinion_modifier = { target = JAP modifier = large_commercial_relations }
	add_opinion_modifier = { target = KOR modifier = large_commercial_relations }
	reverse_add_opinion_modifier = { target = KOR modifier = large_commercial_relations }
	add_opinion_modifier = { target = SIN modifier = large_commercial_relations }
	reverse_add_opinion_modifier = { target = SIN modifier = large_commercial_relations }
	add_opinion_modifier = { target = JAP modifier = large_commercial_relations }
	reverse_add_opinion_modifier = { target = JAP modifier = large_commercial_relations }
	add_opinion_modifier = { target = VIE modifier = large_commercial_relations }
	reverse_add_opinion_modifier = { target = VIE modifier = large_commercial_relations }
	add_opinion_modifier = { target = MAY modifier = large_commercial_relations }
	reverse_add_opinion_modifier = { target = MAY modifier = large_commercial_relations }
	add_opinion_modifier = { target = PHI modifier = large_commercial_relations }
	reverse_add_opinion_modifier = { target = PHI modifier = large_commercial_relations }
	add_opinion_modifier = { target = USA modifier = large_commercial_relations }
	reverse_add_opinion_modifier = { target = USA modifier = large_commercial_relations }

	add_opinion_modifier = { target = JAP modifier = maritime_border_dispute }
	reverse_add_opinion_modifier = { target = JAP modifier = maritime_border_dispute }

	#Recognition
	add_to_array = { global.rival_governments = THIS }
	set_country_flag = rival_government_CHI

	SAO = { set_country_flag = Recognised_@FROM }
	MLW = { set_country_flag = Recognised_@FROM }
	COS = { set_country_flag = Recognised_@FROM }
	DMI = { set_country_flag = Recognised_@FROM }
	PAN = { set_country_flag = Recognised_@FROM }
	ELS = { set_country_flag = Recognised_@FROM }
	DOM = { set_country_flag = Recognised_@FROM }
	BFA = { set_country_flag = Recognised_@FROM }
	CHA = { set_country_flag = Recognised_@FROM }
	GRA = { set_country_flag = Recognised_@FROM }
	FYR = { set_country_flag = Recognised_@FROM }
	BLZ = { set_country_flag = Recognised_@FROM }
	GUA = { set_country_flag = Recognised_@FROM }
	HON = { set_country_flag = Recognised_@FROM }
	NIC = { set_country_flag = Recognised_@FROM }
	PAR = { set_country_flag = Recognised_@FROM }
	MIC = { set_country_flag = Recognised_@FROM }
	SOL = { set_country_flag = Recognised_@FROM }
	SWA = { set_country_flag = Recognised_@FROM }
	HAI = { set_country_flag = Recognised_@FROM }
	STV = { set_country_flag = Recognised_@FROM }
	STK = { set_country_flag = Recognised_@FROM }
	STL = { set_country_flag = Recognised_@FROM }

	add_to_variable = {
		var = TAI.Granted_Recognition
		value = 23
	}
	add_opinion_modifier = { target = SAO modifier = recognize_taiwan }
	reverse_add_opinion_modifier = { target = SAO modifier = recognize_taiwan }
	add_opinion_modifier = { target = MLW modifier = recognize_taiwan }
	reverse_add_opinion_modifier = { target = MLW modifier = recognize_taiwan }
	add_opinion_modifier = { target = COS modifier = recognize_taiwan }
	reverse_add_opinion_modifier = { target = COS modifier = recognize_taiwan }
	add_opinion_modifier = { target = DMI modifier = recognize_taiwan }
	reverse_add_opinion_modifier = { target = DMI modifier = recognize_taiwan }
	add_opinion_modifier = { target = PAN modifier = recognize_taiwan }
	reverse_add_opinion_modifier = { target = PAN modifier = recognize_taiwan }
	add_opinion_modifier = { target = ELS modifier = recognize_taiwan }
	reverse_add_opinion_modifier = { target = ELS modifier = recognize_taiwan }
	add_opinion_modifier = { target = DOM modifier = recognize_taiwan }
	reverse_add_opinion_modifier = { target = DOM modifier = recognize_taiwan }
	add_opinion_modifier = { target = BFA modifier = recognize_taiwan }
	reverse_add_opinion_modifier = { target = BFA modifier = recognize_taiwan }
	add_opinion_modifier = { target = CHA modifier = recognize_taiwan }
	reverse_add_opinion_modifier = { target = CHA modifier = recognize_taiwan }
	add_opinion_modifier = { target = GRA modifier = recognize_taiwan }
	reverse_add_opinion_modifier = { target = GRA modifier = recognize_taiwan }
	add_opinion_modifier = { target = FYR modifier = recognize_taiwan }
	reverse_add_opinion_modifier = { target = FYR modifier = recognize_taiwan }
	add_opinion_modifier = { target = BLZ modifier = recognize_taiwan }
	reverse_add_opinion_modifier = { target = BLZ modifier = recognize_taiwan }
	add_opinion_modifier = { target = GUA modifier = recognize_taiwan }
	reverse_add_opinion_modifier = { target = GUA modifier = recognize_taiwan }
	add_opinion_modifier = { target = HON modifier = recognize_taiwan }
	reverse_add_opinion_modifier = { target = HON modifier = recognize_taiwan }
	add_opinion_modifier = { target = NIC modifier = recognize_taiwan }
	reverse_add_opinion_modifier = { target = NIC modifier = recognize_taiwan }
	add_opinion_modifier = { target = PAR modifier = recognize_taiwan }
	reverse_add_opinion_modifier = { target = PAR modifier = recognize_taiwan }
	add_opinion_modifier = { target = MIC modifier = recognize_taiwan }
	reverse_add_opinion_modifier = { target = MIC modifier = recognize_taiwan }
	add_opinion_modifier = { target = SOL modifier = recognize_taiwan }
	reverse_add_opinion_modifier = { target = SOL modifier = recognize_taiwan }
	add_opinion_modifier = { target = SWA modifier = recognize_taiwan }
	reverse_add_opinion_modifier = { target = SWA modifier = recognize_taiwan }
	add_opinion_modifier = { target = HAI modifier = recognize_taiwan }
	reverse_add_opinion_modifier = { target = HAI modifier = recognize_taiwan }
	add_opinion_modifier = { target = STV modifier = recognize_taiwan }
	reverse_add_opinion_modifier = { target = STV modifier = recognize_taiwan }
	add_opinion_modifier = { target = STK modifier = recognize_taiwan }
	reverse_add_opinion_modifier = { target = STK modifier = recognize_taiwan }
	add_opinion_modifier = { target = STL modifier = recognize_taiwan }
	reverse_add_opinion_modifier = { target = STL modifier = recognize_taiwan }

	set_popularities = {
		democratic = 62.9
		communism = 0.1
		fascism = 0.0
		neutrality = 37.0
		nationalist = 0.0
	}
	set_politics = {
		ruling_party = democratic
		last_election = "1996.3.23"
		election_frequency = 48
		elections_allowed = yes
	}

	start_politics_input = yes

	### Party Popularities
	set_variable = { party_pop_array^0 = 0 } #Western_Autocracy
	set_variable = { party_pop_array^1 = 0.230 } #conservatism
	set_variable = { party_pop_array^2 = 0.399 } #liberalism
	set_variable = { party_pop_array^3 = 0 } #socialism
	set_variable = { party_pop_array^4 = 0 } #Communist-State
	set_variable = { party_pop_array^5 = 0 } #anarchist_communism
	set_variable = { party_pop_array^6 = 0.001 } #Conservative
	set_variable = { party_pop_array^7 = 0 } #Autocracy
	set_variable = { party_pop_array^8 = 0 } #Mod_Vilayat_e_Faqih
	set_variable = { party_pop_array^9 = 0 } #Vilayat_e_Faqih
	set_variable = { party_pop_array^10 = 0 } #Kingdom
	set_variable = { party_pop_array^11 = 0 } #Caliphate
	set_variable = { party_pop_array^12 = 0 } #Neutral_Muslim_Brotherhood
	set_variable = { party_pop_array^13 = 0 } #Neutral_Autocracy
	set_variable = { party_pop_array^14 = 0.368 } #Neutral_conservatism
	set_variable = { party_pop_array^15 = 0 } #oligarchism
	set_variable = { party_pop_array^16 = 0 } #Neutral_Libertarian
	set_variable = { party_pop_array^17 = 0 } #Neutral_green
	set_variable = { party_pop_array^18 = 0.002 } #neutral_Social
	set_variable = { party_pop_array^19 = 0 } #Neutral_Communism
	set_variable = { party_pop_array^20 = 0 } #Nat_Populism
	set_variable = { party_pop_array^21 = 0 } #Nat_Fascism
	set_variable = { party_pop_array^22 = 0 } #Nat_Autocracy
	set_variable = { party_pop_array^23 = 0 } #Monarchist

	### Ruling Party
	add_to_array = { ruling_party = 1 }

	#Pan-Green/Blue Coalition Stuff
	set_variable = {
		var = pan_green_coalition_support
		value = party_pop_array^2
	}
	add_to_variable = {
		var = pan_green_coalition_support
		value = party_pop_array^18
	}

	set_variable = {
		var = pan_blue_coalition_support
		value = party_pop_array^1
	}
	add_to_variable = {
		var = pan_blue_coalition_support
		value = party_pop_array^6
	}
	add_to_variable = {
		var = pan_blue_coalition_support
		value = party_pop_array^14
	}


	startup_politics = yes

	create_country_leader = {
		name = "Lee Teng-hui"
		picture = "Lee_Teng-hui.dds"
		ideology = conservatism
		traits = {
			western_conservatism
			pro_american
			pro_independence_taiwan
		}
	}
	set_variable = { term_limit = 2 }
	set_variable = { current_term = 2 }

	recruit_character = TAI_chen_kang
	recruit_character = TAI_zhong_ming
	recruit_character = TAI_tang_ming
	recruit_character = TAI_yang_ming
	recruit_character = TAI_shen_ming
	recruit_character = TAI_tang_kun
	recruit_character = TAI_chang_chieh
	recruit_character = TAI_wang_li
	recruit_character = TAI_wang_lung
	recruit_character = TAI_tung_lung

	#############################################
	#MTG Variants
	##############
	if = {
		limit = { has_dlc = "Man the Guns" }

		#Chi Yang Class https://en.wikipedia.org/wiki/Knox-class_frigate
		#frigate_hull_1


		create_equipment_variant = {
			name = "Cheng Kung Class"
			type = frigate_hull_2
			#name_group = TAI_DD_HISTORICAL
			parent_version = 0
			modules = {
				fixed_ship_engine_slot = module_light_surface_diesel_power
				fixed_ship_fire_control_system_slot = module_analog_fire_control
				fixed_ship_radar_slot = module_sonar_2
				fixed_ship_auxillary_slot_2 = module_aa_missiles_2
				fixed_ship_auxillary_slot_1 = module_torpedoes_2
				fixed_ship_auxillary_slot = module_fuel_tank
				fixed_ship_battery_slot = module_127mm_battery
				front_1_custom_slot = module_ciws_2
				rear_1_custom_slot = module_asm_1
			}
		}

		#Kang Ding
		create_equipment_variant = {
			name = "Kang Ding Class"
			type = frigate_hull_3
			#name_group = TAI_DD_HISTORICAL
			parent_version = 0
			modules = {
				fixed_ship_engine_slot = module_light_surface_diesel_power
				fixed_ship_fire_control_system_slot = module_digital_integrated_fire_control
				fixed_ship_radar_slot = module_radar_3
				fixed_ship_auxillary_slot_2 = module_aa_missiles_2
				fixed_ship_auxillary_slot_1 = module_chain_gun
				fixed_ship_auxillary_slot = module_fuel_tank
				fixed_ship_battery_slot = module_76mm_gun_1
				front_1_custom_slot = module_asm_2
				rear_1_custom_slot = module_asm_2

			}
		}

		#Hai Lung Class https://en.wikipedia.org/wiki/Hai_Lung-class_submarine
		create_equipment_variant = {
			name = "Hai Lung Class"
			type = attack_submarine_hull_2
			#name_group = TAI_SS_HISTORICAL
			parent_version = 0
			modules = {
				fixed_ship_engine_slot = module_sub_diesel_electric_power
				fixed_ship_radar_slot = module_sonar_2
				fixed_ship_auxillary_slot_3 = module_fuel_tank
				fixed_ship_auxillary_slot_2 = module_sub_esm_1
				fixed_ship_auxillary_slot_1 = module_torpedoes_2
				fixed_ship_auxillary_slot = module_torpedoes_2
				fixed_ship_battery_slot = module_anti_ship_torpedoes_2

			}
		}
	}
	#############################################

	if = {
		limit = { has_dlc = "No Step Back" }

		create_equipment_variant = {
			name = "CM-11"
			type = mbt_hull_0
			parent_version = 0
			modules = {
				main_armament_slot = tank_small_medium_cannon_2
				turret_type_slot = tank_base_tank_turret
				suspension_type_slot = tank_torsion_bar_suspension
				armor_type_slot = tank_steel_armor_gen2
				engine_type_slot = tank_diesel_engine_gen3
				reload_type_slot = manual_loading
				special_type_slot_1 = smoke_launchers
				special_type_slot_2 = additional_machine_guns
				special_type_slot_3 = empty
				special_type_slot_4 = tank_battlestation_2
				special_type_slot_5 = reactive_armor_gen1
			}
			upgrades = {
				tank_nsb_armor_upgrade = 4
			}
			obsolete = yes
			icon = "GFX_USA_MBT_1"
		}
	}
}

2017.1.1 = {
	capital = 598
	if = {
		limit = { has_dlc = "No Step Back" }

		set_oob = "TAI_2017_nsb"
	}
	if = {
		limit = { NOT = { has_dlc = "No Step Back" } }

		set_oob = "TAI_2017_nonnsb"
	}
	if = {
		limit = {
			has_dlc = "Man the Guns"
		}
		set_naval_oob = "TAI_2017_naval_mtg"
		else = {
			set_naval_oob = "TAI_2017_naval_legacy"
		}
	}
	set_convoys = 40

	add_ideas = {
		#pop_050
		medium_corruption
		pluralist

		stable_growth
		defence_03
		edu_04
		health_04
		social_03
		bureau_03
		police_02
		draft_army
		volunteer_women
		Major_Non_NATO_Ally
		small_medium_business_owners
		industrial_conglomerates
		landowners
		#hybrid
		#tax_cost_16
	}

	remove_ideas = {
		asian_tigers_legacy
		asian_crisis
	}

	#Influence system
	init_influence = yes
	set_variable = { domestic_influence_amount = 200 }
	add_to_array = { influence_array = CHI.id }
	add_to_array = { influence_array_val = 62 }
	add_to_array = { influence_array = USA.id }
	add_to_array = { influence_array_val = 37 }
	add_to_array = { influence_array = JAP.id }
	add_to_array = { influence_array_val = 18 }
	add_to_array = { influence_array = SIN.id }
	add_to_array = { influence_array_val = 14 }
	add_to_array = { influence_array = KOR.id }
	add_to_array = { influence_array_val = 11 }
	add_to_array = { influence_array = PHI.id }
	add_to_array = { influence_array_val = 3 }
	startup_influence = yes

	set_country_flag = Major_Non_NATO_Ally
	set_country_flag = Major_Importer_US_Arms #Trends-in-international-arms-transfers-2016.pdf
	set_variable = { small_medium_business_owners = 75 }
	set_variable = { industrial_conglomerates_opinion = 80 }

	set_variable = { var = debt value = 183 }
	set_variable = { var = treasury value = 439 }
	set_variable = { var = int_investments value = 0 }
	set_variable = { var = corporate_tax_rate value = 20 }
	set_variable = { var = population_tax_rate value = 45 }

	#Nat focus

	add_opinion_modifier = { target = CHI modifier = large_commercial_relations }
	reverse_add_opinion_modifier = { target = CHI modifier = large_commercial_relations }

	#recognition of Taiwan
	SAO = { clr_country_flag = Recognised_@FROM }
	MLW = { clr_country_flag = Recognised_@FROM }
	COS = { clr_country_flag = Recognised_@FROM }
	DMI = { clr_country_flag = Recognised_@FROM }
	CHA = { clr_country_flag = Recognised_@FROM }
	GRA = { clr_country_flag = Recognised_@FROM }
	FYR = { clr_country_flag = Recognised_@FROM }

	subtract_from_variable = {
		var = TAI.Granted_Recognition
		value = 7
	}

	add_opinion_modifier = { target = SAO modifier = revoked_recognize_taiwan }
	reverse_add_opinion_modifier = { target = SAO modifier = revoked_recognize_taiwan }
	remove_opinion_modifier = { target = SAO modifier = recognize_taiwan }
	remove_opinion_modifier = { target = MLW modifier = recognize_taiwan }
	remove_opinion_modifier = { target = COS modifier = recognize_taiwan }
	remove_opinion_modifier = { target = DMI modifier = recognize_taiwan }
	remove_opinion_modifier = { target = CHA modifier = recognize_taiwan }
	remove_opinion_modifier = { target = GRA modifier = recognize_taiwan }
	remove_opinion_modifier = { target = FYR modifier = recognize_taiwan }

	# Starting tech
	set_technology = {

		infantry_weapons4 = 1
		SP_Anti_Air_2 = 1
		APC_4 = 1
		IFV_3 = 1
		IFV_4 = 1
		SP_R_arty_2 = 1

		body_armor_2000 = 1

		computing3 = 1
		decryption3 = 1
		encryption3 = 1
		computing4 = 1
		decryption4 = 1
		encryption4 = 1
		computing5 = 1
		decryption5 = 1
		encryption5 = 1
		neural_networks_revival = 1
		data_mining = 1
		machine_learning = 1
		sociable_machines = 1
		industrial_electrospun_polymeric_nanofibers = 1
		multiwalled_carbon_nanotubes = 1
		modern_electrospinning = 1
		stereolitography = 1
		early_3D_printers = 1
		t3D_wax_printer = 1
		DNA_fingerprinting = 1
		modern_gmo = 1
		gene_therapy = 1
		genetically_modified_crops = 1
		gene_targeting_pesticides = 1
		human_genome_project = 1
		crispr = 1
		cas9_gene_editing = 1
		wifi = 1
		internet3 = 1	#3G
		edge = 1
		umts = 1
		hsupa = 1
		internet4 = 1	#4G
		lte = 1

		construction1 = 1
		construction2 = 1
		excavation2 = 1
		excavation1 = 1
	}
	if = {
		limit = {
			not = { has_dlc = "Man the Guns" }
		}
		set_technology = {
			corvette_1 = 1
			missile_corvette_1 = 1
			missile_corvette_2 = 1
			missile_corvette_3 = 1
			missile_corvette_4 = 1

			frigate_1 = 1

			destroyer_1 = 1

			submarine_1 = 1
		}
	}
	if = {
		limit = {
			has_dlc = "Man the Guns"
		}
		set_technology = {
			corvette_hull_1 = 1
			corvette_hull_2 = 1
			corvette_hull_3 = 1
			corvette_hull_4 = 1

			frigate_hull_1 = 1
			frigate_hull_2 = 1
			frigate_hull_3 = 1
			frigate_hull_4 = 1

			destroyer_hull_1 = 1
			destroyer_hull_2 = 1

			helicopter_operator_hull_1 = 1
			helicopter_operator_hull_2 = 1

			attack_submarine_hull_1 = 1
			attack_submarine_hull_2 = 1
			attack_submarine_hull_3 = 1
			attack_submarine_hull_4 = 1

			aircraft_heli_engineering_1 = 1

			tech_submarine_engineering = 1

			tech_naval_systems_engineering = 1
			tech_power_systems = 1
			tech_power_systems_1 = 1
			tech_power_systems_2 = 1

			tech_combat_support_systems = 1
			tech_fire_control = 1
			tech_fire_control_1 = 1
			tech_fire_control_2 = 1
			tech_combat_radar = 1
			tech_combat_radar_1 = 1
			tech_combat_radar_2 = 1
			tech_combat_radar_3 = 1
			tech_combat_sonar = 1
			tech_combat_sonar_1 = 1
			tech_combat_sonar_2 = 1
			tech_combat_sonar_3 = 1

			tech_naval_weapon_systems = 1
			tech_light_guns = 1
			tech_light_guns_1 = 1
			tech_light_guns_2 = 1
			tech_127mm_guns = 1
			tech_127mm_guns_1 = 1

			tech_point_defense_system = 1
			tech_point_defense_system_1 = 1
			tech_point_defense_system_2 = 1
			tech_point_defense_system_3 = 1
			tech_point_defense_system_4 = 1

			tech_missile_systems = 1
			tech_turret_missiles_surface = 1
			tech_turret_missiles_surface_1 = 1
			tech_turret_missiles_surface_2 = 1
			tech_turret_missiles_surface_3 = 1

			tech_turret_missiles_aa = 1
			tech_turret_missiles_aa_1 = 1
			tech_turret_missiles_aa_2 = 1
			tech_turret_missiles_aa_3 = 1

			tech_vls_surface = 1
			tech_vls_surface_1 = 1
			tech_vls_surface_2 = 1

			tech_vls_aa = 1
			tech_vls_aa_1 = 1
			tech_vls_aa_2 = 1

			tech_torpedoes = 1
			tech_torpedoes_1 = 1
			tech_torpedoes_2 = 1
			tech_torpedoes_3 = 1
			tech_torpedoes_4 = 1

			tech_mtg_landing_craft = 1
		}
	}
	set_popularities = {
		democratic = 87.1
		communism = 0.0
		fascism = 0.0
		neutrality = 12.8
		nationalist = 0.1
	}
	set_politics = {
		ruling_party = democratic
		last_election = "2016.1.16"
		election_frequency = 48
		elections_allowed = yes
	}

	start_politics_input = yes

	### Party Popularities
	set_variable = { party_pop_array^0 = 0 } #Western_Autocracy
	set_variable = { party_pop_array^1 = 0.31 } #conservatism
	set_variable = { party_pop_array^2 = 0.561 } #liberalism
	set_variable = { party_pop_array^3 = 0 } #socialism
	set_variable = { party_pop_array^4 = 0 } #Communist-State
	set_variable = { party_pop_array^5 = 0 } #anarchist_communism
	set_variable = { party_pop_array^6 = 0 } #Conservative
	set_variable = { party_pop_array^7 = 0 } #Autocracy
	set_variable = { party_pop_array^8 = 0 } #Mod_Vilayat_e_Faqih
	set_variable = { party_pop_array^9 = 0 } #Vilayat_e_Faqih
	set_variable = { party_pop_array^10 = 0 } #Kingdom
	set_variable = { party_pop_array^11 = 0 } #Caliphate
	set_variable = { party_pop_array^12 = 0 } #Neutral_Muslim_Brotherhood
	set_variable = { party_pop_array^13 = 0 } #Neutral_Autocracy
	set_variable = { party_pop_array^14 = 0.128 } #Neutral_conservatism
	set_variable = { party_pop_array^15 = 0 } #oligarchism
	set_variable = { party_pop_array^16 = 0 } #Neutral_Libertarian
	set_variable = { party_pop_array^17 = 0 } #Neutral_green
	set_variable = { party_pop_array^18 = 0 } #neutral_Social
	set_variable = { party_pop_array^19 = 0 } #Neutral_Communism
	set_variable = { party_pop_array^20 = 0.001 } #Nat_Populism
	set_variable = { party_pop_array^21 = 0 } #Nat_Fascism
	set_variable = { party_pop_array^22 = 0 } #Nat_Autocracy
	set_variable = { party_pop_array^23 = 0 } #Monarchist

	### Ruling Party
	add_to_array = { ruling_party = 2 }

	startup_politics = yes

	#Pan-Green/Blue Coalition Stuff
	set_variable = {
		var = pan_green_coalition_support
		value = party_pop_array^2
	}
	add_to_variable = {
		var = pan_green_coalition_support
		value = party_pop_array^18
	}

	set_variable = {
		var = pan_blue_coalition_support
		value = party_pop_array^1
	}
	add_to_variable = {
		var = pan_blue_coalition_support
		value = party_pop_array^6
	}
	add_to_variable = {
		var = pan_blue_coalition_support
		value = party_pop_array^14
	}

	create_country_leader = {
		name = "Tsai Ing-wen"
		picture = "Tsai_Ing-wen.dds"
		ideology = liberalism
		traits = {
			western_liberalism
		}
	}
	set_variable = { current_term = 1 }
	#############################################
	#MTG Variants
	##############
	if = {
		limit = { has_dlc = "Man the Guns" }


		#Tuo Chiang Class https://en.wikipedia.org/wiki/Tuo_Chiang-class_corvette
		create_equipment_variant = {
			name = "Tuo Chiang Class"
			type = corvette_hull_4
			#name_group = TAI_DD_HISTORICAL
			parent_version = 0
			modules = {
				fixed_ship_engine_slot = module_light_surface_jet_turbine_power2
				fixed_ship_fire_control_system_slot = module_digital_integrated_fire_control
				fixed_ship_radar_slot = module_radar_4
				fixed_ship_auxillary_slot_1 = module_ram_3
				fixed_ship_auxillary_slot = module_torpedoes_3
				fixed_ship_battery_slot = module_76mm_gun_2
				front_1_custom_slot = module_asm_3
				rear_1_custom_slot = module_light_helipad_2

			}
		}
		#Kee Lung Class https://en.wikipedia.org/wiki/Kidd-class_destroyer#Kee_Lung-class_destroyers
		create_equipment_variant = {
			name = "Kee Lung Class"
			type = destroyer_hull_1
			#name_group = TAI_DD_HISTORICAL
			parent_version = 0
			modules = {
				fixed_ship_engine_slot = module_surface_jet_turbine_power
				fixed_ship_fire_control_system_slot = module_analog_fire_control
				fixed_ship_radar_slot = module_radar_1
				fixed_ship_auxillary_slot_3 = module_torpedoes_1
				fixed_ship_auxillary_slot_2 = module_aa_missiles_1
				fixed_ship_auxillary_slot = module_76mm_battery
				fixed_ship_battery_slot = module_76mm_gun_1
				front_1_custom_slot = module_ciws_1
				mid_1_custom_slot = module_asm_1
				mid_2_custom_slot = module_aa_missiles_1
				rear_1_custom_slot = module_light_helipad_1

			}
		}
	}
	#############################################
}
